from django.shortcuts import render
from rest_framework.viewsets import ModelViewSet
from .models import Address
from .serializer import AddressSerialize


# Create your views here.
class AddressViewSet(ModelViewSet):
    """
    地址信息接口
    """
    queryset = Address.objects.all()
    serializer_class = AddressSerialize
